package com.by.ex;

import java.util.Map;

/**
 * date 2025/2/14 17:59
 * author bjj
 * decoration
 * version 1.0
 * since jdk11
 */
@SuppressWarnings("all")
public class ValidateException extends RuntimeException{
    Map<String,String> errorMap;

    public ValidateException(Map errorMap) {
        super("验证失败");
        this.errorMap = errorMap;
    }
    public Map<String, String> getErrorMap() {
        return errorMap;
    }
}
